﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public interface INhaCungCapRepository
    {
        NhaCungCap GetByTenNhaCungCap(string maNCC);
        IQueryable<NhaCungCap> GetAll();
        bool AddNew(NhaCungCap nhaCC);
        bool Update(NhaCungCap nhaCC);
        bool Delete(NhaCungCap nhaCC);
        NhaCungCap getByIdDetail(string maNCC);
        List<NhaCungCap> TimTheoSoDT(string sodt);
        List<NhaCungCap> TimTheoHHCC(string hhcc);
        List<NhaCungCap> TimTheoTenNCC(string tenNcc);

        NhaCungCap GetByMaNhaCungCap(string ma);


    }
}
